package com.pingan.springboot_es_api.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Kay on 2018/11/5
 *  查询返回信息，包括基本信息，检验，诊断，处方，体检，随访
 */
public class ClientInfo implements Serializable{
    private static final long  serialVersionUID = 1L;
    private List<Basic> basics;          //病人基本信息队列
    private List<Diagnosis> diagnoses;   // 诊断信息队列
    private List<Medical> medicals;       // 处方信息队列
    private List<Exam> exams;              //体检信息队列
    private List<Checkup> checkups;       // 检验信息队列
    private List<Followup> followups;      // 随访队列
    private Long totalSize = 0l;      //查询符合条件的命中病人数量
    private Long diagnosisSize = 0l;   // 符合条件的病人对应的诊断数量
    private Long medicalSize = 0l;      // 符合条件的病人对应的处方数量
    private Long examSize = 0l;         // 符合条件的病人对应的体检数量
    private Long checkupSize = 0l;      // 符合条件的病人对应的检验数量
    private Long followupSize = 0l;      // 符合条件的病人随访数量
    private Long took = 0L;   // ES查询时间

    private Long alltook = 0L;  // 接收参数到返回json总时间


    public Long getTook() {
        return took;
    }

    public void setTook(Long took) {
        this.took = took;
    }

    public Long getAlltook() {
        return alltook;
    }

    public void setAlltook(Long alltook) {
        this.alltook = alltook;
    }

    public List<Checkup> getCheckups() {
        return checkups;
    }

    public void setCheckups(List<Checkup> checkups) {
        this.checkups = checkups;
    }

    public List<Followup> getFollowups() {
        return followups;
    }

    public void setFollowups(List<Followup> followups) {
        this.followups = followups;
    }

    public Long getCheckupSize() {
        return checkupSize;
    }

    public void setCheckupSize(Long checkupSize) {
        this.checkupSize = checkupSize;
    }

    public Long getFollowupSize() {
        return followupSize;
    }

    public void setFollowupSize(Long followupSize) {
        this.followupSize = followupSize;
    }

    public Long getDiagnosisSize() {
        return diagnosisSize;
    }

    public void setDiagnosisSize(Long diagnosisSize) {
        this.diagnosisSize = diagnosisSize;
    }

    public Long getMedicalSize() {
        return medicalSize;
    }

    public void setMedicalSize(Long medicalSize) {
        this.medicalSize = medicalSize;
    }

    public Long getExamSize() {
        return examSize;
    }

    public void setExamSize(Long examSize) {
        this.examSize = examSize;
    }

    public Long getTotalSize() {
        return totalSize;
    }

    public void setTotalSize(Long totalSize) {
        this.totalSize = totalSize;
    }

    public List<Basic> getBasics() {
        return basics;
    }

    public void setBasics(List<Basic> basics) {
        this.basics = basics;
    }

    public List<Diagnosis> getDiagnoses() {
        return diagnoses;
    }

    public void setDiagnoses(List<Diagnosis> diagnoses) {
        this.diagnoses = diagnoses;
    }

    public List<Medical> getMedicals() {
        return medicals;
    }

    public void setMedicals(List<Medical> medicals) {
        this.medicals = medicals;
    }

    public List<Exam> getExams() {
        return exams;
    }

    public void setExams(List<Exam> exams) {
        this.exams = exams;
    }

    @Override
    public String toString() {
        return "ClientInfo{" +
                "basics=" + basics +
                ", diagnoses=" + diagnoses +
                ", medicals=" + medicals +
                ", exams=" + exams +
                ", checkups=" + checkups +
                ", followups=" + followups +
                ", totalSize=" + totalSize +
                ", diagnosisSize=" + diagnosisSize +
                ", medicalSize=" + medicalSize +
                ", examSize=" + examSize +
                ", checkupSize=" + checkupSize +
                ", followupSize=" + followupSize +
                '}';
    }

    public ClientInfo() {
    }
}
